import { Entity, Column, PrimaryColumn, PrimaryGeneratedColumn } from 'typeorm';

@Entity({name: 'information'})
export class Information {
  @PrimaryGeneratedColumn({name: 'InformationID'})
  id: number;

  @Column({name: 'InformationContent'})
  content: string;

  @Column({name: 'InformationImage'})
  image: string;

  @Column({name: 'InformationCreateTime'})
  createTime: string;

	@Column({
		type:'varchar',
		name: 'title',
		charset: 'utf8mb4'
	})
	title: string

	@Column({
		name: 'introduction'
	})
	introduction: string

	@Column({
		name: 'banner'
	})
	banner: number

	@Column({
		name: 'type',
		charset: 'utf8mb4'
	})
	type: string

	@Column({
		name: 'statu'
	})
	status: number
}
